package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.JzdxVirtualIdentityCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxVirtualIdentityResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxVirtualIdentityUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxVirtualIdentityEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface JzdxVirtualIdentityConvert {
    JzdxVirtualIdentityConvert INSTANCE = Mappers.getMapper(JzdxVirtualIdentityConvert.class);

    JzdxVirtualIdentityResultDTO convert(JzdxVirtualIdentityEntity s);

    JzdxVirtualIdentityEntity create(JzdxVirtualIdentityCreateDTO s, Long tenantId);

    JzdxVirtualIdentityEntity update(JzdxVirtualIdentityUpdateDTO s);
}
